moved -fPIC from LD_FLAGS to CFLAGS
authorØyvind Kolås <ok@src.gnome.org>
Fri, 8 Sep 2006 22:38:27 +0000 (22:38 +0000)
committerØyvind Kolås <ok@src.gnome.org>
Fri, 8 Sep 2006 22:38:27 +0000 (22:38 +0000)
ChangeLog
extensions/Makefile.am

index 5ec4d4ca773d737d6127b95aac3353e0e8b8b99b..256a1b79858ece04978205fea825b6931fe109c5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-09-09  Øyvind Kolås  <pippin@gimp.org>
+
+       * extensions/Makefile.am: moved -fPIC from LD_FLAGS to CFLAGS.
+       
 2006-09-08  Øyvind Kolås  <pippin@gimp.org>
 
        * extensions/Makefile.am: added -fPIC to LD_FLAGS, thus making it
index 1abc4c95b4bef35f47b6c4f4c38ee6b173f85a51..e6a0fcb3b1e6e2a6f03401727d3b36db7f3fafef 100644 (file)
@@ -15,9 +15,9 @@ INSTALLED_ITEMS = $(subst $(srcdir),$(ext_dir),$(CFILES:.c=.so))
 
 all-local: $(SOBJS)
 
-CFLAGS  += -I $(top_srcdir)/babl -I $(top_srcdir)/extensions
+CFLAGS  += -I $(top_srcdir)/babl -I $(top_srcdir)/extensions -fPIC
 
-LDFLAGS += -shared -fPIC
+LDFLAGS += -shared
 
 LDADD    = $(win32_libs) $(no-undefined)